﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="PIManagement.aspx.cs" Inherits="WebParts.PIManagement" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        PI Management
    </h2>
    <p>
        You can see PIs you have added, or add a new PI<br />
        accountID:<asp:Label ID="test" runat="server"></asp:Label>
    </p>
    <fieldset class="login">
    <legend>Create a New PI</legend>
    <asp:Table id="Table1" 
        GridLines="Both" 
        HorizontalAlign="Center" 
        Font-Names="Verdana"
        CellPadding="15" 
        CellSpacing="0" 
        Runat="server" Width="85%">
    <asp:TableRow>
    <asp:TableCell> To add a new PI, click the button below</asp:TableCell>
    </asp:TableRow>
    <asp:TableRow><asp:TableCell HorizontalAlign="Center"><asp:Button ID="redirect" runat="server" BackColor="Gainsboro" BorderColor="HotTrack"
                        BorderStyle="Solid" BorderWidth="1px" ForeColor="Highlight" OnClick="addPI_Click"
                        Text="Add a PI" /></asp:TableCell></asp:TableRow>
    </asp:Table>
     
        <br />
        
    </fieldset>
    <fieldset class="login">
    <legend>Exsiting PIs</legend>
    <asp:Table id="PITable" 
        GridLines="Both" 
        HorizontalAlign="Center" 
        Font-Names="Verdana"
        CellPadding="15" 
        CellSpacing="0" 
        Runat="server" Width="85%">
        <asp:TableHeaderRow>
            <asp:TableHeaderCell RowSpan="2">PaymentMethodID</asp:TableHeaderCell>
            <asp:TableHeaderCell RowSpan="2">PIType</asp:TableHeaderCell>
            <asp:TableHeaderCell RowSpan="2">Friendly Name</asp:TableHeaderCell>
            <asp:TableHeaderCell ColumnSpan="5">Address Info</asp:TableHeaderCell>
        </asp:TableHeaderRow>
        <asp:TableHeaderRow>
            <asp:TableHeaderCell>Country</asp:TableHeaderCell>
            <asp:TableHeaderCell>State</asp:TableHeaderCell>
            <asp:TableHeaderCell>City</asp:TableHeaderCell>
            <asp:TableHeaderCell>Street</asp:TableHeaderCell>
            <asp:TableHeaderCell>Postal Code</asp:TableHeaderCell>
        </asp:TableHeaderRow>
     </asp:Table>
     </fieldset>
     
</asp:Content>
